package com.example.othree.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.othree.entity.PollutionHistoryDataJjjSitesMonth;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhangmiaohang
 * @since 2024-12-11
 */

public interface PollutionHistoryDataJjjSitesMonthMapper extends BaseMapper<PollutionHistoryDataJjjSitesMonth> {
    List<PollutionHistoryDataJjjSitesMonth> pollutionForSite(Integer startTime, Integer endTime, String month, String[] cities);
    ArrayList<Float> pollutionForSiteByAvea(String startTime, String endTime, String element, String[] cities);
    List<HashMap<String, String>>pollutionForSiteByEvery(String startTime, String endTime, String element, String[] cities);
    List<PollutionHistoryDataJjjSitesMonth>pollutionForLevel(String startTime, String endTime, String[] cities);
    List<PollutionHistoryDataJjjSitesMonth>pollutionForCount(String startTime, String endTime, String[] cities);

}
